<?php include_partial('global/aboutnav') ?>
<br/><br/><br/>
<div class="wrap loan_from_nav">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">公告详情</h3>
        </div>
        <div class="panel-body">
            <div class="report_detail">
                <h1><?php echo $notice->getTitle(); ?></h1>
                <div class="time"><?php echo $notice->getDateTimeObject('created_at')->format('Y/m/d H:i:s');?></div>
                <div class="content">
                    <?php echo html_entity_decode($notice->getContents()); ?>
                </div>    
                <div class="reportline">
                    <hr />
                    <input id="btnOk" type="button" class="btn btn-default" value="返回列表" />
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" language="javascript">
    $("#btnOk").click(function() {
        window.location.href = "<?php echo url_for('default/notice') ?>";
    });
     $("#10022,#10004").addClass("on");
</script>